<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 2021/1/10
  Time: 17:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div align="center">
    <h1>显示数据</h1>

    <table width="400" border="1px" cellspacing="0">
        <thead>
        <tr>
            <th>编号</th>
            <th>名字</th>
            <th>金额</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="account">
            <tr>
                <td align="center"> ${account.id}</td>
                <td align="center"> ${account.name}</td>
                <td align="center"> ${account.money}</td>
            </tr>
        </c:forEach>
        </tbody>
    </table>

</div>
</body>
</html>
